﻿@model blacksoft.Models.ART_PromocionDetails

<table>
    <tr>
            @Html.HiddenFor(model => model.IdPromocion)
        <td>
            @Html.TextBoxFor(model => model.Descripcion, new { @style = "width:150px; border: 0px solid #000000", @disabled = "disabled" })
            @Html.HiddenFor(model => model.Descripcion)
        </td>

        <td>
            @Html.TextBoxFor(model => model.PorcentajeDescuento, new { @style = "width:150px; border: 0px solid #000000", @disabled = "disabled" })
            @Html.HiddenFor(model => model.PorcentajeDescuento)
        </td>

        <td>
            @Html.TextBoxFor(model => model.PuntosRequeridos, new { @style = "width:130px; border: 0px solid #000000", @disabled = "disabled" })
            @Html.HiddenFor(model => model.PuntosRequeridos)
        </td>

        <td>
            @Html.TextBoxFor(model => model.FechaInicio, "{0:dd/MM/yyyy}", new { @style = "width:130px; border: 0px solid #000000", @disabled = "disabled" })
            @Html.HiddenFor(model => model.FechaInicio)
        </td>

        <td>
            @Html.TextBoxFor(model => model.FechaFin, "{0:dd/MM/yyyy}", new { @style = "width:130px; border: 0px solid #000000", @disabled = "disabled" })
            @Html.HiddenFor(model => model.FechaFin)
        </td>

        <td>
            @Html.TextBoxFor(model => model.Estado, new { @style = "width:70px; border: 0px solid #000000", @disabled = "disabled" })
            @Html.HiddenFor(model => model.Estado)
        </td>

        <td>
            @switch(Model.TipoCliente){
                case 3:
                    @Html.TextBox("CR","Cliente Regular", new { @style = "width:130px; border: 0px solid #000000", @disabled = "disabled" })
                    break;
                case 4:
                    @Html.TextBox("CF","Cliente Frecuente", new { @style = "width:130px; border: 0px solid #000000", @disabled = "disabled" })
                    break;   
            }
            @Html.HiddenFor(model => model.TipoCliente)
        </td>
    </tr>
</table>